#include "mainwindow.h"

#include <QMainWindow>

QT_USE_NAMESPACE

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
{
    w = new Widget;

    resize(w->size()); //设置窗口大小
    setMinimumSize(950,700);
    setCentralWidget(w);
//    searchEdit->setParent(this);
//    searchEdit->move(1,1);
//    searchEdit->show();
}

MainWindow::~MainWindow()
{
}

